import request from '../request.js'

function list(query) {
	return request.get('/api/bidding/list', query)
}
function detail(query) {
	return request.get('/api/bidding/detail', query)
}
function add(data) {
	return request.post('/api/bidding/add', data)
}
function update(data) {
	return request.post('/api/bidding/update', data)
}
function del(data) {
	return request.post('/api/bidding/del', data)
}

export default {
    list,
    detail,
    add,
    update,
    del,
}